package com.lantosec.hmrp.modules.workflow.vo;

import com.lantosec.hmrp.modules.form.entity.FormLayout;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.flowable.task.api.Task;

/**
 * 流程信息VO
 *
 * @author lichaowei
 * @date 2020/4/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="流程信息VO", description="流程信息VO")
public class ProcessInfoVO {

    @ApiModelProperty(value = "布局对象",required = true)
    private FormLayout formLayout;

    @ApiModelProperty(value = "表单数据Id")
    private String formDataId;

    @ApiModelProperty(value = "表单数据")
    private Object formData;

    @ApiModelProperty(value = "流程节点的扩展属性")
    private CustomAttributeVO customAttribute;

    @ApiModelProperty(value = "流程任务信息")
    private FlowTaskVO flowTask;

    @ApiModelProperty(value = "审核状态 0 不通过，1 通过")
    private Integer auditStatus;

    @ApiModelProperty(value = "审核意见")
    private String comment;

    @ApiModelProperty(value = "流程实例名称")
    private String proInsName;

    @ApiModelProperty(value = "流程名称")
    private String processName;
}
